﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ProBugTracker.Data.Interface
{
    public interface IUserManagerData
    {
        UserDB AddNewUser(UserDB user);
        bool EditNewUser(UserDB user);
        bool DeleteUser(int userID);
        UserAssignRoleDB AddNewUserRole(UserAssignRoleDB userAssignRole);
        bool RemoveUserRole(int userID, int roleID);
        IList<UserDB> FindAllActiveUsers();
        IList<UserDB> FindAllInactiveUsers();
        UserDB FindUserByID(int userID);
        UserDB FindUserByUserName(string userName);
        IList<UserDB> FindUserByFirstName(string firstName);
    }
}
